﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CallingClassMember
{
    class Love
    {
        public int field1;

        private string _name;

        public Love()

        {

        }



        public string Name

        {

            get

            {

                return _name;

            }

            set

            {

                _name = value;

            }

        }



        public int GetInt(int a)

        {

            return a;

        }



        public void Display(string str)

        {

            Console.WriteLine(str);

        

    }


}
}
